# New ports collection makefile for:	cs-netflow
# Date created:		2006-11-04
# Whom:			Gea-Suan Lin <gslin@cs.nctu.edu.tw>
#
# $Id: Makefile 225 2006-11-04 16:39:35Z gslin $
#

PORTNAME=	netflow
PORTVERSION=	1.0
PORTREVISION=	5
CATEGORIES=	cs
MASTER_SITES=	#
DISTFILES=	#

MAINTAINER=	ta@cs.nctu.edu.tw
COMMENT=	Netflow meta-port

RUN_DEPENDS=	${LOCALBASE}/bin/flow-capture:${PORTSDIR}/net-mgmt/flow-tools \
		${LOCALBASE}/sbin/fprobe:${PORTSDIR}/net-mgmt/fprobe

NETFLOW_DIR?=	/netflow
NO_BUILD=	yes
SUB_LIST+=	NETFLOW_DIR=${NETFLOW_DIR}
USE_RC_SUBR=	netflow.sh

do-install:
	${MKDIR} ${NETFLOW_DIR} || ${TRUE}
	${CHOWN} nobody:security ${NETFLOW_DIR}
	${CHMOD} 750 ${NETFLOW_DIR}

.include <bsd.port.mk>
